package bean;

import sosr.bean.Medecin;
import sosr.serveur.ServeurRMI;

public class Page {

	private String titre;
	private String contenu;
	private String shortname = "";
	private String filename;
	private String action_type;
	private String message = "";
	private String message_type = "";
	
	
	
	private int action_id;
	
	private Medecin medecin;
	
	private int patient_id = -1;
	
	
	
	public int getPatient_id() {
		return patient_id;
	}
	public void setPatient_id(int patient_id) {
		this.patient_id = patient_id;
	}
	public Medecin getMedecin() {
		return medecin;
	}
	public void setMedecin(Medecin medecin) {
		this.medecin = medecin;
	}
	public String getMessage() {
		String msg = message;
		message = "";
		return msg;
	}
	public void setMessage(String type, String message) {
		this.message = message;
		this.message_type = type;
	}
	
	public String getMessage_type() {
		String msg = message_type;
		message_type = "";
		return msg;
	}
	public void setMessage_type(String message_type) {
		this.message_type = message_type;
	}
	
	public String getFilename() {
		return filename;
	}
	public void setFilename(String filename) {
		this.filename = filename;
	}
	
	
	public String getAction_type() {
		return action_type;
	}
	public void setAction_type(String action_type) {
		this.action_type = action_type;
	}
	public int getAction_id() {
		return action_id;
	}
	public void setAction_id(int action_id) {
		this.action_id = action_id;
	}
	
	public String getTitre() {
		return titre;
	}
	public void setTitre(String titre) {
		this.titre = titre;
	}
	public String getContenu() {
		return contenu;
	}
	public void setContenu(String contenu) {
		this.contenu = contenu;
	}
	public String getShortName() {
		return shortname;
	}
	public void setShortName(String shortname) {
		this.shortname = shortname;
	}
	
}
